package cn.iune.backcenter.author;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the sa_opparentrole database table.
 * 
 */
@Entity
@Table(name="SaOpparentrole")
@NamedQuery(name="SaOpparentrole.findAll", query="SELECT s FROM SaOpparentrole s")
public class SaOpparentrole implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String sID;

	private String sParentRoleID;//父角色ID

	private String sRoleID;//角色ID

	private int version;

	public String getsID() {
		return sID;
	}

	public void setsID(String sID) {
		this.sID = sID;
	}

	public String getsParentRoleID() {
		return sParentRoleID;
	}

	public void setsParentRoleID(String sParentRoleID) {
		this.sParentRoleID = sParentRoleID;
	}

	public String getsRoleID() {
		return sRoleID;
	}

	public void setsRoleID(String sRoleID) {
		this.sRoleID = sRoleID;
	}

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}


}